package com.yanggu.scala.chapater10;

import java.util.HashMap;
import java.util.Map;

/**
 * @version V1.0
 * @author: YangGu
 * @date: 2020/7/9 11:39
 * @description:
 */
public class JavaHashMap {

    public static void main(String[] args) {
        Map<String, Integer> map = new HashMap<String, Integer>();
        map.put("张三", 100);
        map.put("李四", 200);
        map.put("王五", 300);
        map.put("赵六", 400);
        map.put("张三", 200);
        System.out.println(map);
    }

}
